package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Praise;
import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.domain.Daily;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;


public interface IDailyService {

    void saveOrUpdate(Daily entity);

    PageInfo query(QueryObject qo);


    Daily selectById(Long id);

    void updateNum(Long id);
    Daily queryDailyById(Long id);

    Boolean queryIsLike(Long dailyId, Integer state);

    void saveDailyIsLike(Praise obj);

    void deleteDailyIsLike(Praise obj);
}
